<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet"%>
<%@taglib prefix="theme" uri="http://liferay.com/tld/theme" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@page import="javax.portlet.PortletURL"%>
<portlet:defineObjects/>
<theme:defineObjects/>

<h3>IPC Demo Portlet</h3>

<portlet:actionURL var="quickAddURL ">
	<portlet:param name="action" value="quickAdd"/>
</portlet:actionURL>

<portlet:renderURL var="prpURL">
	<portlet:param name="action" value="prp"/>
</portlet:renderURL>

<form:form commandName="book" name="fm1" id="fm" method="post" action="<%=quickAddURL%>">
	<table cellpadding="4">
		
		<tr>
			<td>Book Title</td>
			<td><form:input path="bookTitle" id="bookTitle" size="30" maxlength="80" /></td>
		</tr>
		<tr>
			<td>Author</td>
			<td><form:input path="author" id="author" size="30" maxlength="80"  /></td>
		</tr>
		<tr>
			<td><input type="submit" value="Quick Add" ></td>
			<td><input type="button" value="Back" onclick="javascript:history.back()"/></td>
		</tr>
	</table>
</form:form>
<a href="<%= prpURL%>">Set PRP Here</a>





